#ifndef MPANEL_H
#define MPANEL_H

#include <QWidget>
#include <QPushButton>

class MPanel : public QWidget
{
    Q_OBJECT
public:
    explicit MPanel(QWidget *parent = 0);
    
signals:
    void ok();
    void undo();
    void hint();
    void reset();

public slots:
    void setUndoEnabled(bool value);
    void setOKEnabled(bool value);
    void setHintEnabled(bool value);

private slots:
    void okClicked();
    void undoClicked();
    void hintClicked();
    void resetClicked();
    void quitClicked();

private:
    QPushButton *btn_ok, *btn_undo, *btn_hint, *btn_reset, *btn_quit;
};

#endif // MPANEL_H
